package com.layor.blog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.layor.blog.entity.Article;

public interface ArticleService extends IService<Article> {

    Page<Article> listArticles(int page, int size);

    Article getArticleById(Long id);
}


